package com.prawn.ift.datasearch.client.impl;

import com.prawn.ift.datasearch.client.IftCollEquipmentClient;
import entity.Result;
import entity.StatusCode;
import org.springframework.stereotype.Component;


/**
 * @Auther:  zhy
 * @Date: 2019/7/11
 * @Description:
 */
@Component
public class IftCollEquipmentClientImpl implements IftCollEquipmentClient {

    @Override
    public Result findById(String id) {
        return new Result(false, StatusCode.ERROR,"采集设备服务调用失败，熔断器启动");
    }

    @Override
    public Result findAll() {
        return new Result(false, StatusCode.ERROR,"采集设备服务调用失败，熔断器启动");
    }

}
